"""
web启动页面
"""
from flask_cors import CORS
from API import create_app

app = create_app()

# 跨域配置
CORS(app, resources=[r'/*'])

if __name__ == '__main__':
    # 启动服务器
    app.run(debug=True, host='0.0.0.0')
